package com.greydawn.PrototypePattern;

/**
 * @Author: zhongwr
 * @Create: 2021/12/12 15:27
 * @Version 1.0
 * @Description:
 */
public class PeopleNo1 extends People {

    public PeopleNo1(){
        this.age = 1;
    }

    @Override
    public void doSomething() {
        System.out.println("No1 do some things ");
    }
}
